﻿[#include "/app/common/layout/__backstagemainlayout.html"/]
[@mainlayout pageJavascript=pageJavascript pageCss=pageCss currentMenu="adminFlag"]
<div class="page-header">
	<h1>
		主页 
		<small> <i class="ace-icon fa fa-angle-double-right"></i> 故障申报记录</small>
	</h1>
</div>
		<table class="table table-bordered table-hover ">
		<thead>
			<tr>
				<th >序号</th>
				<th >标题</th>
				<th >申报部门</th>
				<th >申报人</th>
				<th >申报时间</th>
				<th >当前状态</th>
			</tr>
		</thead>
			<tbody>
			[#list overOrderPage.getList() as order]
			<tr>
				<td style="text-align:left;">${order_index+1}</td>
				<td style="text-align:left;">${(order.title)!}</td>
				<td style="text-align:left;">${(order.off_branch)!}</td>
				<td style="text-align:left;">${(order.off_user)!}</td>
				<td style="text-align:left;">${(order.offer_at)!}</td>
				<td >
					<b>
					[#if order.status=0]
					<span class="green">已处理</span>
					[#elseif order.status=1]
					<span class="orange">处理中</span>
					[#elseif order.status=2]
					<span class="gray">未处理</span>
					[/#if]
					</b>
				</td>
			</tr>
			[/#list]
			[#if overOrderPage.getList().size()!=10]
			[#assign size=(10-overOrderPage.getList().size())]
				[#list 1..size as t]
					<tr>
						<td>${(overOrderPage.getList().size()+t)!}</td>
						<td></td>
						<td></td>
						<td></td>
						<td></td>
						<td></td>
					</tr>
				[/#list]
			[/#if]
		</tbody>

	</table>
	[#include "/app/common/inc/_paginate.html" /]
	[@paginate currentPage=overOrderPage.pageNumber totalPage=overOrderPage.totalPage actionUrl="/admin/" /]
[/@mainlayout]